package com.wanna.keygen.core;

/**
 * @author wanna
 * @date 2019-02-01
 */
public enum ProductType {
    /**
     * Xmanager
     */
    Xmanger(0, "Xmanager"),

    /**
     * Xshell
     */
    Xshell(1, "Xshell"),

    /**
     * Xlpd
     */
    Xlpd(2, "Xlpd"),

    /**
     * Xfile
     */
    Xfile(3, "Xfile"),

    /**
     * Xftp
     */
    Xftp(4, "Xftp"),

    /**
     * Xmanager 3D
     */
    Xmanager3D(5, "Xmanager 3D"),

    /**
     * Xmanager Enterprise
     */
    XmanagerEnterprise(6, "Xmanager Enterprise"),

    /**
     * Xshell Plus
     */
    XshellPlus(7, "Xshell Plus");

    private int code;

    private String name;

    ProductType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }
}
